package com.bw.journal.insert


import com.bawei.module_journal.R
import com.bw.journal.insert.entity.JournalTypeEntity
import com.bw.quickadapter.BaseQuickAdapter
import com.bw.quickadapter.BaseViewHolder

class JournalTypeAdapter : BaseQuickAdapter<JournalTypeEntity>(R.layout.item_journal_type) {
    override fun convert(holder: BaseViewHolder?, item: JournalTypeEntity?) {
        holder!!.let {
            it.setText(R.id.journal_type_time,item!!.timeStr)
            it.setText(R.id.journal_type_value,item!!.valueStr)
        }
    }
}